package com.bonuo.crm.service;

import com.bonuo.crm.domain.Contact;
import com.ruoyi.common.core.domain.AjaxResult;

import java.util.List;

public interface ContactService {
    List<Contact> selectContactList(Contact contact);

    AjaxResult insertContact(Contact contact);

    Integer deleteContactById(Integer id);

    AjaxResult updateContact(Contact contact);

    Integer selectContactByFacultyOrAgentId(Integer id,Integer type);

}
